package com.fz.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by webrx on 2017-09-02.
 */
@Controller
public class User {
    @RequestMapping(value = {"","/show","/show.do","/show.action"})
    public String show(Model m){
        m.addAttribute("name","jack李四四");
        return "hello";
    }
}
